package com.hyq.market.base;

import org.xutils.common.Callback;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/7/19 0019.
 */

public interface NetCallback {
    <T> void netSucceed(T t,int code);
    <T> void netSucceed(List<T> t,int code);
    <T> void netFailed(T t,int code);
    <T> void onCancelled(T cex,int code);
}
